<?php
/**
 * Analyse Task Interface
 * @author	zhangjian<smile_for_life@sina.cn>
 * @date	2014-01-14
 */
 interface IAnalyse
 {
	public function init($data = array(),$options = array());
	public function run($options = array(), $callback = null);
	public function map($in = array(), $options = array());
	public function reduce($out = array(), $options = array());
 }